package com.danco.training.zaneuskaya.domain;

import java.io.Serializable;



public class Claim implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6060338560234643336L;
	private int id;
	private Book book;
	private int claimAmount;
	private boolean executed;

	public Claim(int id, Book book, int claimAmount , boolean executed) {

		this.id = id;
		this.book = book;
		this.claimAmount = claimAmount;
		this.executed = executed;
	}

	public Claim( Book book, int claimAmount, boolean executed) {
		
		this.book = book;
		this.claimAmount = claimAmount;
		this.executed = executed;
	}

	public Claim(int id, Book book, int claimAmount) {
		this.id = id;
		this.book = book;
		this.claimAmount = claimAmount;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public int getClaimAmount() {
		return claimAmount;
	}

	public void setClaimAmount(int claimAmount) {
		this.claimAmount = claimAmount;
	}

	public boolean isExecuted() {
		return executed;
	}

	public void setExecuted(boolean executed) {
		this.executed = executed;
	}

}
